* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: middle;
}

.box {
    width: 1110px;
    height: 247px;
    margin: 20px auto;
}

.box li {
    position: relative;
    float: left;
    width: 350px;
    height: 247px;
    margin-right: 30px;
    overflow: hidden;
}

.box li:last-child {
    margin-right: 0;
}
.box ul li::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 2s;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
  }
  .box ul li:hover::after {
    opacity: 1;
}
.d1{
    /* position: absolute; */
    /* bottom: 60px; */
    transform: translateY(-100px);
    color: aliceblue;
    width: 300px;
    margin-left: 20px;
}
.box ul li:hover .d1{
    /* bottom: 100px; */
    transform: translateY(-150px);
}
.box ul li:hover .d2{
    /* position: absolute; */
    margin-left: 20px;
    /* bottom: 20px; */
    transform: translateY(-100px);
    color: aliceblue;
}
.box ul li:hover img{
    transform: scale(1.2);
}
